package com.congee02;

/**
 * @author congee02
 * @date 1/31/2023 4:00 PM
 */
public class CpuNumberTest {

    public static void main(String[] args) {
        Runtime runtime = Runtime.getRuntime();
        int numberOfCPUs = runtime.availableProcessors();
        System.out.println("The number of CPUs is " + numberOfCPUs + ".");
    }
    
}
